package com.itheima.edu.info.manager.D_Dao;

import com.itheima.edu.info.manager.E_domain.Student;

import java.util.ArrayList;

public class StudentDao {
    ArrayList<Student> list =new ArrayList();
    public ArrayList<Student> geArrayList(){
        return list;
    }

    public void tianjia(Student st) {
        list.add(st);
    }

    public void shanChu(int index) {
        list.remove(index);
    }
}
